package com.Shoping.entity;

/**
 * 地址实体类
 */
public class Address {

    //主键
    private Integer aId;//地址id

    //外键
    private Integer uId;//用户id
    private String aName;//地址的用户名称
    private String aPhone;//地址的用户电话
    private String aAddress;//地址
    private String aCoding;//地址的用户邮政编码
    private Integer aSerial;//地址的序号

    public Address(Integer aId, Integer uId, String aName, String aPhone, String aAddress, String aCoding, Integer aSerial) {
        this.aId = aId;
        this.uId = uId;
        this.aName = aName;
        this.aPhone = aPhone;
        this.aAddress = aAddress;
        this.aCoding = aCoding;
        this.aSerial = aSerial;
    }

    public Address() {
    }

    public Integer getaId() {
        return aId;
    }

    public void setaId(Integer aId) {
        this.aId = aId;
    }

    public Integer getuId() {
        return uId;
    }

    public void setuId(Integer uId) {
        this.uId = uId;
    }

    public String getaName() {
        return aName;
    }

    public void setaName(String aName) {
        this.aName = aName;
    }

    public String getaPhone() {
        return aPhone;
    }

    public void setaPhone(String aPhone) {
        this.aPhone = aPhone;
    }

    public String getaAddress() {
        return aAddress;
    }

    public void setaAddress(String aAddress) {
        this.aAddress = aAddress;
    }

    public String getaCoding() {
        return aCoding;
    }

    public void setaCoding(String aCoding) {
        this.aCoding = aCoding;
    }

    public Integer getaSerial() {
        return aSerial;
    }

    public void setaSerial(Integer aSerial) {
        this.aSerial = aSerial;
    }

    @Override
    public String toString() {
        return "Address{" +
                "aId=" + aId +
                ", uId=" + uId +
                ", aName='" + aName + '\'' +
                ", aPhone='" + aPhone + '\'' +
                ", aAddress='" + aAddress + '\'' +
                ", aCoding='" + aCoding + '\'' +
                ", aSerial=" + aSerial +
                '}';
    }
}
